body{
    color: #000;
     overflow-x: hidden; /*不会出现水平滚动跳条 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: none;
    font: normal 16px/1.5 PingFangSC-regular,Tahoma,Lucida Grande,Verdana,Microsoft Yahei,STXihei,hei;
    /* -moz-user-select: none; */
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    background: #c3c0c0;
}
*{
    margin: 0;
    padding: 0;
}

.clearfix:before, .clearfix:after{
	content:"";
	display:table;
}

.clearfix:after{
	clear:both;
}

.clearfix{
	*zoom:1;
}


a{
    text-decoration: none;
}

div{
    box-sizing: border-box;
}
header{
    position: fixed;
    display: flex;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* 盒子居中对齐常用方法 */
    width: 100%;
    height: 50px;
    max-width: 540px;
    min-width: 320px;
    /* background-color: pink; */
}

.search{
    flex: 1;
    height: 30px;
    border: 1px solid rgb(184, 184, 184);
    margin: 10px 12px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 6px 10px #888888;
}
input{
    position: absolute;
    width: 420px;
    right: 70px;
    bottom: 16px;
    border: none;
    outline: none;
}

.search::before{
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background:url(../img/search.png) no-repeat;
    margin-left: 5px;
    margin-top: 2px;
    background-size: 23px 23px;
    cursor: pointer;
}

.user{
    width: 45px;
    height: 50px;
    /* background-color: red; */
    text-decoration: none;
    font-size: 13px;
    color: rgb(0,146,222);
    text-align: center;
    letter-spacing: 2px;
}

.user::before{
    content: "";
    display: block;
    margin-left: 11px;
    margin-top: 6px;
    width: 23px;
    height: 23px;
    background-color: #fff;
    background:url(../img/person.png) no-repeat;
    background-size: 23px 23px;
}

.focus{
    margin-top: 47px
}

.focus img{
    width: 100%;
    cursor: pointer;
}

.local-banner{
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 2px 2px;
    border-radius: 8px;
    justify-content: space-around;
  
}
li{
    width: 20%;
    list-style: none;
}
.local-banner a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-size: 13px;
    
}

.local-banner-icon-1{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background:url(../img/span1.png) no-repeat 0 0;
    background-size: 30px 30px;
}

.local-banner-icon-2{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background:url(../img/span2.png) no-repeat 0 0;
    background-size: 30px 30px;
}

.local-banner-icon-3{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background:url(../img/span3.png) no-repeat 0 0;
    background-size: 32px 32px;
}

.local-banner-icon-4{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background:url(../img/span4.png) no-repeat 0 0;
    background-size: 30px 30px;
}

.local-banner-icon-5{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background:url(../img/span5.png) no-repeat 0 0;
    background-size: 30px 30px;
}

/* .local-banner li[class^=".local-banner-icon"]{
    width: 32px;
    height: 32px;
    background-color: red;
    margin-top: 8px;
    background-size: 30px 30px;
} */

/* .local-banner li .local-banner-icon-1{
    background: url(../img/span1.png);
    background-position: 0 -32px;
} */

nav{
    overflow: hidden;
    border-radius: 10px;
    margin: 0 4px 3px;
    
}

.nav-common{
    display: flex;
    height: 88px;
    background-color: skyblue;
}

.nav-common:nth-child(2){
    margin: 3px 0px;
}

.nav-items{
    flex:1;
    display: flex;
    flex-direction: column;
    /* 不冲突 */
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    line-height: 44px;
}

/* -n+2表示前两个元素 */
.nav-items:nth-child(-n+2){
    border-right: 1px solid white;
}

.nav-items a{
    color: white;
    flex: 1;
}

.nav-items a:nth-child(-n+1){
    border-bottom: 1px solid white;
}
.nav-items:nth-child(-n+1) a{
    border: 0;
    background:url(../img/hotel.png) no-repeat bottom center;
    background-size: 60px 60px;
}
.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#FA5A55,#fa994d);
}
.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#1380b3,#6cb7e2);
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,rgb(75, 110, 236),rgb(101,162,255));
}
/* #FA5A55,#fa994d */
/* #1380b3,#6cb7e2 */
.subnav-entry{
    display: flex;
    border-radius: 10px;
    background-color: white;
    margin: 0 4px;
    flex-wrap: wrap;
    padding: 5px 0;
}

.subnav-entry li{
    /* 子盒子可以写百分比 */
    flex: 20%; 
}

.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: black;
}
.subnav-entry-icon1{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon1.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon2{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon2.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon3{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon3.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon4{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon4.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon5{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon5.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon6{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon6.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon7{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon7.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon8{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon8.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon9{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon9.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.subnav-entry-icon10{
    width: 30px;
    height: 30px;
    background-color: red;
    background:url(../img/icon10.png) no-repeat;
    background-size: 30px 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sale-box{
    background-color: white;
    border-top: 1px solid rgb(156, 154, 154);
    margin: 4px;
}

.sale-head{
    display: flex;
    height: 44px;
    border-bottom: 1px solid rgb(168, 167, 167);
    justify-content: center;
    line-height: 44px;
}
.sale-head h2{
    flex: 10;
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sale-head h2::after{
    position: absolute;
    content: "";
    left: 15px;
    top: 12px;
    height: 20px;
    width: 80px;
    background-color: pink ;
    background: url(../img/saleLeft.png);
    background-size: 20px 20px;
}
p{  
    flex: 1;
    position: absolute;
    color: rgba(243,103,9);
    font-size: larger;
    font-weight: bolder;
}
.sale-head a{
    flex: 1;
    color: #888888;
}
.sale-body ul{
   display: flex;
   flex-wrap: wrap;
}
.sale-body li{
    height: 170px;
    width: 266px;
}
.sale-body li img{
    width: 100%;
}

.app-bottom{
    background-color: white;
    height: 60px;
    border-top: 1px solid rgb(156, 154, 154);
    margin: 4px;
    display: flex;
}
.app-bottom li{
    flex: 1;
    margin-top: 10px;
}

.app-bottom .bottom1{
    width: 30px;
    height: 30px;
    background-color: red;
    background: url(../img/bottom1.png) no-repeat;
    background-size: 30px 30px;
    margin-left: 75px ;
}

.app-bottom .bottom2{
    width: 30px;
    height: 30px;
    background-color: red;
    background: url(../img/bottom2.png) no-repeat;
    background-size: 30px 30px;
    margin-left: 75px ;
}

.app-bottom .bottom3{
    width: 30px;
    height: 30px;
    background-color: red;
    background: url(../img/bottom3.png) no-repeat;
    background-size: 30px 30px;
    margin-left: 75px ;
}
.app-bottom .text{
    text-align: center;
    font-size: 13px;
}